<template>
	<view class="content">
		<u-tabbar></u-tabbar>
		<view class="table">
			<view>保险公司<uni-icons type="arrowdown" size="10"></uni-icons>
			</view>
			<view>保费区间<uni-icons type="arrowdown" size="10"></uni-icons>
			</view>
			<view>投保时间<uni-icons type="arrowdown" size="10"></uni-icons>
			</view>
			<view>
				<uni-icons type="search"></uni-icons> 查询
			</view>
		</view>
		<border></border>

		<view v-for='item in 10'>
			<view class="title">
				<text>工号：AD02151</text>
				<text stlye="color: #2a84f8;">生效中</text>
				<!-- 				<text stlye="color: #2a84f8;">未效中</text>
				<text stlye="color: #2a84f8;">续保</text> -->
			</view>

			<!-- 银行信息 -->
			<view class="bank">
				<view class="d-flex">
					<text>中银保险</text>
					<text>￥2650.00</text>
				</view>
				<view class="user">
					<text>谭延钊</text>
					<text style="margin: 0 10upx;color: #cccccc;">|</text>
					<text>13625152698</text>
					<text style="margin: 0 10upx;color: #cccccc;">|</text>
					<text>粤AY00261</text>
				</view>
				<view style="color: #999999;font-size: 24upx;">投保日期：2018-10 20:00:00</view>
			</view>
			<border></border>
		</view>



	</view>
</template>

<script>
	import tabbar from '../../components/tabbar.vue'
	import border from '../../components/border.vue'
	export default {
		data() {
			return {

			}
		},
		methods: {

		},
		components: {
			'u-tabbar': tabbar,
			border
		}
	}
</script>

<style scoped lang="scss">
	.user {
		margin: 5upx 0;

		text {
			font-size: 28upx;
		}
	}

	.bank>.d-flex {
		justify-content: space-between;

		text {
			font-weight: 600;
			font-size: 34upx;
		}
	}

	.bank {
		padding: 30upx;
		box-sizing: border-box;
	}

	.title {
		display: flex;
		border-bottom: 1px solid #dadada;
		height: 80upx;
		align-items: center;
		justify-content: space-between;
		padding: 30upx;
		box-sizing: border-box;

	}

	.title text:nth-last-child(1) {
		color: #2a84f8;
		font-size: 26upx;
	}

	.title text:nth-last-child(2) {
		color: #333333;
		font-size: 26upx;
	}

	// message

	.kefu {
		width: 28upx;
		height: 28upx;
		position: absolute;
		top: 5px;
		right: 33px;
	}

	.user {
		justify-content: space-between;
		position: relative;
	}

	.test {
		padding: 30upx 30upx;
		border-top: 20upx solid #f2f2f2;
		height: 613upx;
	}


	.table {
		height: 80upx;
		display: flex;
		align-items: center;
		border-bottom: 1px solid #dadada;
	}

	.table>view {
		flex: 1;
		text-align: center;
		font-size: 26upx;
		color: #7f7f7f;
	}
</style>
